//
//  MobilePhoneChargeUnionPayViewController.m
//  ELife
//
//  Created by  刘奇男 on 11-6-15.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import "MobilePhoneChargeUnionPayViewController.h"

#import <QuartzCore/QuartzCore.h>

@implementation MobilePhoneChargeUnionPayViewController

@synthesize cardNumber, cardPassword, cost, cardType, numberBack, helpBack;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)dealloc
{
    [super dealloc];
    
    [cardNumber release];
    [cardPassword release];
    [cardType release];
    [cost release];
    [numberBack release];
    [helpBack release];
}

- (void)didReceiveMemoryWarning
{
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc that aren't in use.
}

#pragma mark - View lifecycle

/*
// Implement loadView to create a view hierarchy programmatically, without using a nib.
- (void)loadView
{
}
*/


// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad
{
    [super viewDidLoad];
    
    
    [self.navigationItem setTitle:@"手机充值"];
    
    
    numberBack.layer.cornerRadius = 8;
    numberBack.layer.masksToBounds = YES;
    
    helpBack.layer.cornerRadius = 8;
    helpBack.layer.masksToBounds = YES;
}


- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

-(IBAction) confirm:(id)sender
{
}
-(IBAction) nextStep:(id)sender
{
}

-(IBAction) closeKeypad:(id)sender
{
    [cardType resignFirstResponder];
    [cardPassword resignFirstResponder];
    [cardNumber resignFirstResponder];
    [cost resignFirstResponder];
}

@end
